// var TN_Widget = function() { return { //Options newWindow : true, linkText : "view
tickets", tixUrl : "http://www.ticketnetwork.com/tix/", trackingParams : "", custLink : true, //depricated kbid : "", //Overwrittable functions trackingLink :"", CreateCustomUrl : function(row) { return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx"; }, CreateEventRow : function(row, isAlt) { return "" + row[0] +"" + row[1] +"
" + row[2] +"" + row[3] +"
" + row[4] + "
" + row[5] + ""+ this.linkText+ ""; }, AddCss: function(cssUrl) { var fileref=document.createElement("link"); fileref.setAttribute("rel", "stylesheet"); fileref.setAttribute("type", "text/css"); fileref.setAttribute("href", cssUrl); document.getElementsByTagName("head")[0].appendChild(fileref); }, CreateTable : function(eventData,kywrds,url) { if(typeof(TN_SetWidgetOptions) == "function") TN_SetWidgetOptions(); //for backwards compatability if(this.kbid != "") this.trackingParams = "?img=249&kbid="+this.kbid; var newTable = []; for(var cntr = 0; cntr < eventData.length; cntr++) newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1)); var objToAddTo; if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML = '' + newTable.join('') + '
'; } else document.write('
' + newTable.join('') + '
'); if(eventData.length >= 100 && kywrds != undefined) { if(objToAddTo = document.getElementById("tn_results_container")) { objToAddTo.innerHTML += '
See all events for '+ kywrds + ' on TicketNetwork.com
'; } else { document.write("
See all events for "+ kywrds + " on TicketNetwork.com
"); } } if(eventData.length > 0) { document.getElementById("previewNote").style.display = "none"; } } }; }(); //BPW-TNSERV-01B TN_Widget.CreateTable([['Morgan Wallen, Ernest & Lauren Watkins','Hersheypark Stadium','Hershey, PA','Thursday','5/9/2024','7:00 PM','5458312','Morgan-Wallen--Ernest---Lauren-Watkins-5-9-2024'],['Stevie Nicks','Hersheypark Stadium','Hershey, PA','Saturday','6/15/2024','7:00 PM','6250099','Stevie-Nicks-6-15-2024'],['Hootie and The Blowfish','Hersheypark Stadium','Hershey, PA','Friday','6/28/2024','7:00 PM','6062231','Hootie-and-The-Blowfish-6-28-2024'],['Justin Timberlake','Hersheypark Stadium','Hershey, PA','Thursday','7/4/2024','7:30 PM','6236358','Justin-Timberlake-7-4-2024'],['Janet Jackson & Nelly','Hersheypark Stadium','Hershey, PA','Saturday','7/6/2024','8:00 PM','6215306','Janet-Jackson---Nelly-7-6-2024'],['Outlaw Music Festival: Willie Nelson, Bob Dylan, Robert Plant & Alison Krauss','Hersheypark Stadium','Hershey, PA','Sunday','7/7/2024','5:00 PM','6290997','Outlaw-Music-Festival--Willie-Nelson--Bob-Dylan--Robert-Plant---Alison-Krauss-7-7-2024'],['Foo Fighters, The Hives & Amyl and The Sniffers','Hersheypark Stadium','Hershey, PA','Tuesday','7/23/2024','5:30 PM','5974848','Foo-Fighters--The-Hives---Amyl-and-The-Sniffers-7-23-2024'],['Def Leppard, Journey & Steve Miller Band','Hersheypark Stadium','Hershey, PA','Thursday','7/25/2024','6:00 PM','6138266','Def-Leppard--Journey---Steve-Miller-Band-7-25-2024'],['Five Finger Death Punch','Hersheypark Stadium','Hershey, PA','Friday','8/2/2024','6:30 PM','6311942','Five-Finger-Death-Punch-8-2-2024'],['New Kids On The Block','Hersheypark Stadium','Hershey, PA','Saturday','8/3/2024','7:00 PM','6045227','New-Kids-On-The-Block-8-3-2024'],['Green Day, The Smashing Pumpkins, Rancid & The Linda Lindas','Hersheypark Stadium','Hershey, PA','Saturday','8/10/2024','5:30 PM','6053238','Green-Day--The-Smashing-Pumpkins--Rancid---The-Linda-Lindas-8-10-2024'],['Creed, 3 Doors Down & Finger Eleven','Hersheypark Stadium','Hershey, PA','Friday','8/23/2024','7:00 PM','6045226','Creed--3-Doors-Down---Finger-Eleven-8-23-2024'],['Pitbull','Hersheypark Stadium','Hershey, PA','Saturday','8/24/2024','8:00 PM','6399292','Pitbull-8-24-2024'],['Pink, Sheryl Crow, The Script & KidCutUp','Hersheypark Stadium','Hershey, PA','Tuesday','10/1/2024','6:30 PM','6131456','Pink--Sheryl-Crow--The-Script---KidCutUp-10-1-2024']],'Hersheypark Stadium','http://www.ticketnetwork.com/ticket/Hersheypark-Stadium-events.aspx');